<clickhouse>
    <kafka>
        <auto_offset_reset>earliest</auto_offset_reset>
        <!-- Debugging of possible issues, like:
             - https://github.com/edenhill/librdkafka/issues/2077
             - https://github.com/edenhill/librdkafka/issues/1778
             - #5615

             XXX: for now this messages will appears in stderr.
        -->
				<security_protocol>SASL_PLAINTEXT</security_protocol>
				<sasl_mechanism>GSSAPI</sasl_mechanism>
				<sasl_kerberos_service_name>kafka</sasl_kerberos_service_name>
				<sasl_kerberos_keytab>/tmp/keytab/clickhouse.keytab</sasl_kerberos_keytab>
				<sasl_kerberos_principal>kafkauser/instance@TEST.CLICKHOUSE.TECH</sasl_kerberos_principal>
				<debug>security</debug>
				<api_version_request>false</api_version_request>
        <kafka_topic>
            <name>consumer_hang</name>
            <!-- default: 3000 -->
            <heartbeat_interval_ms>300</heartbeat_interval_ms>
            <!-- default: 10000 -->
            <session_timeout_ms>6000</session_timeout_ms>
        </kafka_topic>
    </kafka>

</clickhouse>
